Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Make templates in composeContext dynamic #1467

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from

Conversation

jonathangus
Copy link
Contributor

Relates to:

Risks

Medium, might be a package that I missed to update where this could introduce a typescript error.

Background

What does this PR do?

Make it possible to use dynamic templates to make the agent more fun and unique

Idea taken from:
https://x.com/dabit3/status/1872126857774031201

What kind of change is this?

Features

Documentation changes needed?

Updated the composeContext docs indocs/docs/api/functions/composeContext.md and docs/api/functions/composeContext.md

Testing

Added test logic to packages/core/src/tests/context.test.ts

Detailed testing steps

templates: {
    lensPostTemplate: generateTemplate()
}

Discord username

@0xheavydev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants